{"version":3,"sources":["EventListener.ts"],"names":["useEventListener","EventListener","props","defaultProps","capture"],"mappings":"AAAA,SAASA,gBAAT,QAAiC,oBAAjC;AAGA,WAAgBC,aAAhB;AAAO,WAASA,aAAT,CAA6CC,KAA7C,EAA6E;AAClFF,IAAAA,gBAAgB,CAACE,KAAD,CAAhB;AAEA,WAAO,IAAP;AACD;;AAEDD,EAAAA,aAAa,CAACE,YAAd,GAA6B;AAC3BC,IAAAA,OAAO,EAAE;AADkB,GAA7B;AANA,SAAgBH,aAAhB;AAAA","sourcesContent":["import { useEventListener } from './useEventListener';\nimport { EventListenerOptions, EventTypes } from './types';\n\nexport function EventListener<T extends EventTypes>(props: EventListenerOptions<T>) {\n  useEventListener(props);\n\n  return null;\n}\n\nEventListener.defaultProps = {\n  capture: false,\n};\n"],"file":"EventListener.js"}